package com.service;

import com.domain.Grade;
import com.domain.UG;

import java.util.List;

/**
 * @description:
 * @author: wu linchun
 * @time: 2021/4/4 23:02
 */

public interface IGradeService {
    public List<UG> allGrade();

    public List<Grade> queryGradebyId(int id);

    public List<Grade> queryGradebySubject(String subject);

    public int addGrade(Grade grade);

    public int deleteGrade(int id, String subject);

    public int updateGrade(Grade grade);
}
